package main.java.visitor;

public class Cat implements Animal {
    @Override
    public void accept(Person person) {
        person.feed(this);
        System.out.println("宠物猫喂食完成");
    }
}
